﻿using Microsoft.Extensions.DependencyInjection;

Serve.Run(GenericRunOptions.Default.ConfigureBuilder(builder =>
{
  return  builder.ConfigureServices((context, service) =>
    {
        service.AddHostedService<HttpHostService>();
    });
}));
